package com.ruoyi.system.api.domain;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 文件信息
 *
 * @author ruoyi
 */
@Getter
@Setter
@Accessors(chain = true)
public class SysFileContent {

  /**
   * 文件ID
   */
  private Long fileId;
  /**
   * 文件名称
   */
  private String name;

  /**
   * 文件地址
   */
  private String url;

  @Override
  public String toString() {
    return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
        .append("fileId", getFileId())
        .append("name", getName())
        .append("url", getUrl())
        .toString();
  }
}
